package cn.com.haopy.yue.ai.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author keel
 * @date 2022/4/18
 */
@SpringBootApplication(scanBasePackages = {
        "cn.com.haopy.yue.ai.db",
        "cn.com.haopy.yue.ai.core",
        "cn.com.haopy.yue.ai.comm",
        "cn.com.haopy.yue.ai.admin",
}, exclude = {DataSourceAutoConfiguration.class})
@EnableSwagger2
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
